home *** CD-ROM | disk | FTP | other *** search
- Okay, now for a (perhaps) really silly question:
-
- Can anyone assist me in how to use the combo of the fd-extension and identify.library?
-
- The function I'm trying to use (in vain so far) is the IdHardware function. I've never
- really tried to utilize system-calls in AMOS before so I'm quite stumped on
- how I'm supposed to do this.
-
- The systemcall is:
-
- identify.library/IdHardware identify.library/IdHardware
- NAME
- IdHardware - get information about the system, string (V3)
-
- SYNOPSIS
- String = IdHardware(Type,TagList)
- D0.l D0.l A0.l
-
- STRPTR IdHardware(ULONG, struct TagItem *);
-
- String = IdHardwareTags(Type,Tag1,...)
-
- STRPTR IdHardwareTags(ULONG, ULONG,...);
-
- FUNCTION
- Gets information about the current system environment. The result
- is returned as read only string. This function is fully DraCo
- compatible!
-
- Once a information has been read, it will be cached internally, so
- changes will be ignored. Use IdHardwareUpdate() to clear the cache
- contents.
-
- INPUTS
- Type -- (ULONG) Information type. These types are known:
-
- IDHW_SYSTEM -- What system is used?
- (e. g. "Amiga 4000")
-
-
- If you take a look with the tokenlist program that's shipped with one of the
- craft-extensions, all parameters should be numerical. Any ideas?
-
- ---
- Facts are stubborn things; and whatever may be our wishes, our inclinations, or
- the dictates of our passions, they cannot alter the state of facts and evidence.
- ---
- It's easier said than done.
-
-
-